const express = require('express');
const app = express();
app.get('/server',(request,response)=>{
    response.header("Access-Control-Allow-Origin", "*");

    setTimeout(()=>{
        response.send("hello express");
    },3000)
})
app.listen(8000,()=>{
    console.log("服务已经启动，8000正在监听中。。。")
})